<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>电子商城</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">



<div class="top">
  <p>
    <a href="<c:url value="/GoodsList"/>">商品管理</a> |
    <a href="<c:url value="/MemberManageList"/>">会员管理</a>  |
    <a href="<c:url value="/OrderManageList"/>">订单管理</a> |
    <a href="manage1.jsp">退出后台</a>
  </p>
</div>
  <div class="adm_con">
    <div class="bg_3">
      <div class="bg_1">
        <div class="bg_2">
          <h3><img src="images/25.gif" class="flo_right" /><img src="images/23.gif" class="flo_left" /><span>订单管理</span></h3>
          <div class="padd">
            <p> [订单详细信息]</p>
            <div style="width:500px;height:300px;margin:10px auto;">
              <p>会员姓名： ${user.name}</p>
              <p>订 单 号： ${order.id}</p>
              <p>收 件 人： ${receiver.name}</p>
              <p>收件地址： ${receiver.address}</p>
              <p>邮政编码： ${receiver.postalCode}</p>
              <p>收件电话：${receiver.telephone}</p>
              <p>备&nbsp;&nbsp;&nbsp;&nbsp;注： ${order.detail}</p>
            <table width="400" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="50%" >商品名称</td>
                <td width="25%" >单&nbsp;&nbsp;价</td>
                <td width="25%" >数&nbsp;&nbsp;量</td>
              </tr>

              <c:forEach items="${orderInfos}" var="Oi" varStatus="status">
                <tr>
                  <td>${goods[status.count - 1].name}</td>
                  <td>${goods[status.count - 1].price}</td>
                  <td>${Oi.count}</td>
                </tr>
              </c:forEach>

            </table>
            <p class="ali_center">
               <img src="images/29.gif" onclick="window.location.href='/OrderManageList'" style="border:0; cursor:hand"/>
             </p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
